package org.feng.feign;

import org.feng.base.entity.Result;
import org.feng.entity.User;
import org.springframework.stereotype.Component;

/**
 * @author 冯帅
 * @des TODO
 * @date 2022/2/7 9:55
 * @email 15612509687@163.com
 */
@Component
public class UserFallBackHandler implements UserFeign {

    @Override
    public Result<User> getUserByUserName(String admin) {
        return Result.error("获取数据失败");
    }


    @Override
    public Result<User> getById(Long id) {
        return Result.error("获取数据失败");
    }
}
